home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 40
/
Vol 40.iso
/
games
/
water_ba.swf
/
scripts
/
frame_31
/
DoAction.as
Wrap
Text File
|
2007-03-20
|
2KB
|
75 lines
stop();
_root.soundmaster._y = 350;
_root.quitbut._y = 365;
_root.soundmaster.removeMovieClip();
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if(_root.uitext4 < 5)
{
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
}
else
{
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
_root.attachMovie("base","base",1,{name:"rest"});
base.attachMovie("grass_blank","grass",2);
_root.attachMovie("ply_but","ply_but",50,{_x:480,_y:427});
stop();
_root.attachMovie("walkers","walkin",4,{_x:-10,_y:460});
walkin.onEnterFrame = function()
{
if(_root.unlockcredits)
{
if(this._y > -60)
{
this._x += 1;
this._y -= 1;
}
else
{
this.removeMovieClip();
}
}
};
_root.attachMovie("gamecredit","credits",20,{_y:600,_x:256});
credits.onEnterFrame = function()
{
if(_root.unlockcredits)
{
if(!this.doneit)
{
if(this._y > -75)
{
this._y -= 1;
}
else
{
this.doneit = true;
}
}
}
};
i = 0;
while(i < 10000)
{
clearInterval(i);
i++;
}